'''
Created on Jan 27, 2013

@author: dheigl
'''

class IndexedVector(object):
    '''
    classdocs
    '''
    def add(self, value):
        self.value.append(value)

    def __init__(self, key):
        '''
        Constructor
        '''
        self.key = key
        self.value = []

    def get_key(self):
        return self.__key


    def get_value(self):
        return self.__value


    def set_key(self, value):
        self.__key = value


    def set_value(self, value):
        self.__value = value


    def del_key(self):
        del self.__key


    def del_value(self):
        del self.__value

    key = property(get_key, set_key, del_key, "key's docstring")
    value = property(get_value, set_value, del_value, "value's docstring")
        